home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / MPW Interfaces & Libraries / AIncludes / EDiskEqu.a < prev    next >
Encoding:
Text File  |  1992-01-29  |  1.8 KB  |  42 lines  |  [TEXT/MPS ]

  1. ; Version: 2.93
  2. ; Created: Friday, October 20, 1989 at 9:15:51 PM
  3. ; File: EDiskEqu.a
  4. ;
  5. ; Assembler Interface to the Macintosh Libraries
  6. ; Copyright Apple Computer, Inc. 1988-1991
  7. ; All Rights Reserved
  8. ;
  9. ;--------------------------------------------------------------------
  10.  
  11.     IF &TYPE('__IncludingEDiskEqu__') = 'UNDEFINED' THEN
  12. __IncludingEDiskEqu__    SET    1
  13.  
  14. ; EDisk header block
  15.  
  16. EDiskHeader       record      0,increment               ; layout of the slim signature block
  17. HdrScratch        ds.b        128                       ; scratch space for r/w testing and vendor info
  18. HdrBlockSize      ds.w        1                         ; size of header block (512 bytes for version 1)
  19. HdrVersion        ds.w        1                         ; header version number (this is version 1)
  20. HdrSignature      ds.b        12                        ; 'EDisk Gary D'
  21. HdrDeviceSize     ds.l        1                         ; size of device, in bytes
  22. HdrFormatTime     ds.l        1                         ; time when last formatted (pseudo unique ID)
  23. HdrFormatTicks    ds.l        1                         ; ticks when last formatted (pseudo unique ID)
  24. HdrCheckSumOff    ds.l        1                         ; offset to CheckSum table if present
  25. HdrDataStartOff   ds.l        1                         ; offset to first byte of data storage
  26. HdrDataEndOff     ds.l        1                         ; offset to last byte+1 of data storage
  27. HdrMediaIconOff   ds.l        1                         ; offset to media Icon and Mask if present
  28. HdrDriveIconOff   ds.l        1                         ; offset to drive Icon and Mask if present
  29. HdrWhereStrOff    ds.l        1                         ; offset to GetInfo Where: string if present
  30. HdrDriveInfo      ds.l        1                         ; longword for Return Drive Info call if present
  31.                   ds.b        512-*                     ; rest of block is reserved
  32. EDiskHeaderSize   EQU         *                         ; size of EDisk header block
  33.                   endr
  34.  
  35.  
  36. ;    Internal ROM disks are aligned on 64KB boundarys starting in the system ROM
  37. ;    and running up to the beginning of I/O space
  38.  
  39. RomDiskAlign      EQU         $00010000                 ; aligned on 64K byte boundarys
  40.  
  41.  
  42.     ENDIF    ; ...already included